﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SeDuce.Model;

namespace SeDuce.IDAL
{
    public interface IProductDAL
    {
        DataTable GetProducts();
        DataTable GetProductsTop(int num);
        DataTable GetProductByProductID(int productID);
        DataTable GetBrandsByProductID(int productID);
        DataTable GetTypesByProductID(int productID);
        DataTable GetProductsByIDs(string IDs);
        bool UpdateProduct(Product product, List<int> brandIDs, List<int> typeIDs);
        object InsertProduct(Product product, List<int> brandIDs, List<int> typeIDs);
        bool DeleteProduct(int productID);
    }
}
